package cc.rengu.redp.bizimpl.upmp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘玉亮
 * @since 2021-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_B_BANK_CODE_INFO")
@ApiModel(value="BankCodeInfo对象", description="")
public class BankCodeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "非业务主键")
    @TableField("ID")
    @TableId(type= IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "银行网点联行号")
    @TableField("BANK_BRANCH_CODE")
    @NotBlank(message = "{required}")
    private String bankBranchCode;

    @ApiModelProperty(value = "银行网点名称")
    @TableField("BANK_BRANCH_NAME")
    @NotBlank(message = "{required}")
    private String bankBranchName;

    @ApiModelProperty(value = "银行名称")
    @TableField("BANK_NAME")
    @NotBlank(message = "{required}")
    private String bankName;

    @ApiModelProperty(value = "机构等级")
    @TableField("BANK_BRANCH_LEVEL")
    private String bankBranchLevel;

    @ApiModelProperty(value = "行政区划代码")
    @TableField("REGION_CODE")
    @NotBlank(message = "{required}")
    private String regionCode;

    @ApiModelProperty(value = "网联机构号")
    @TableField("NUCC_INST_ID")
    @NotBlank(message = "{required}")
    private String nuccInstId;

    @ApiModelProperty(value = "银联机构号")
    @TableField("CUPS_INST_ID")
    @NotBlank(message = "{required}")
    private String cupsInstId;

    @ApiModelProperty(value = "城商银行清算中心机构号")
    @TableField("CCFCCB_INST_ID")
    private String ccfccbInstId;

    @ApiModelProperty(value = "状态")
    @TableField("BANK_BRANCH_STATUS")
    private String bankBranchStatus;

    @ApiModelProperty(value = "审批状态")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty(value = "审批拒绝原因")
    @TableField("AUDIT_REFUSE_REASON")
    private String auditRefuseReason;

    @ApiModelProperty(value = "创建机构")
    @TableField("CRT_ORG_ID")
    private String crtOrgId;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间戳")
    @TableField(value = "CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "最后修改人")
    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间戳")
    @TableField(value = "LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @ApiModelProperty(value = "最后审核人")
    @TableField("LAST_AUDIT_ID")
    private String lastAuditId;

    @ApiModelProperty(value = "最后审核时间")
    @TableField("LAST_AUDIT_TIME")
    private String lastAuditTime;

    @ApiModelProperty(value = "备用字段1")
    @TableField("REMARK1")
    private String remark1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("REMARK2")
    private String remark2;

    @ApiModelProperty(value = "备用字段3")
    @TableField("REMARK3")
    private String remark3;

    @ApiModelProperty(value = "备用字段4")
    @TableField("REMARK4")
    private String remark4;

    @ApiModelProperty(value = "备用字段5")
    @TableField("REMARK5")
    private String remark5;

   @ApiModelProperty(value = "行政区划名称")
    @TableField(exist = false)
    private String regionName;


}
